.TH GRUB-SET-DEFAULT 1 "Wed Feb 26 2014"
.SH NAME
\fBgrub-set-default\fR \(em Set the default boot menu entry for GRUB.

.SH SYNOPSIS
\fBgrub-set-default\fR [--boot-directory=\fIDIR\fR] \fIMENU_ENTRY\fR

.SH DESCRIPTION
\fBgrub-set-default\fR sets the default boot menu entry for all subsequent boots.  This command only works for GRUB configuration files created with \fIGRUB_DEFAULT=saved\fR in \fI/etc/default/grub\fR.

.SH OPTIONS
.TP
--boot-directory=\fIDIR\fR
Find GRUB images under \fIDIR/grub\fR.  The default value is \fI/boot\fR, resulting in grub images being search for at \fI/boot/grub\fR.

.TP
\fIMENU_ENTRY\fR
A number, a menu item title or a menu item identifier.

.SH SEE ALSO
.BR "info grub"
